package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电站实时数据对象 station_real_kpi
 * 
 * @author ruoyi
 * @date 2024-08-24
 */
public class StationRealKpi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 当日发电量 kWh */
    @Excel(name = "当日发电量 kWh")
    private Double dayPower;

    /** 当月发电量 kWh */
    @Excel(name = "当月发电量 kWh")
    private Double monthPower;

    /** 总发电量 kWh */
    @Excel(name = "总发电量 kWh")
    private Double totalPower;

    /** 当日收益 跟随货币类型设置变动（不做汇率转换） */
    @Excel(name = "当日收益 跟随货币类型设置变动", readConverterExp = "不=做汇率转换")
    private Double dayIncome;

    /** 总收益 跟随货币类型设置变动（不做汇率转换） */
    @Excel(name = "总收益 跟随货币类型设置变动", readConverterExp = "不=做汇率转换")
    private Double totalIncome;

    /** 电站健康状态 支持以下电站健康状态：1：断连 2：故障 3：健康 */
    @Excel(name = "电站健康状态 支持以下电站健康状态：1：断连 2：故障 3：健康")
    private Long realHealthState;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String stationCode;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDayPower(Double dayPower) 
    {
        this.dayPower = dayPower;
    }

    public Double getDayPower() 
    {
        return dayPower;
    }
    public void setMonthPower(Double monthPower) 
    {
        this.monthPower = monthPower;
    }

    public Double getMonthPower() 
    {
        return monthPower;
    }
    public void setTotalPower(Double totalPower) 
    {
        this.totalPower = totalPower;
    }

    public Double getTotalPower() 
    {
        return totalPower;
    }
    public void setDayIncome(Double dayIncome) 
    {
        this.dayIncome = dayIncome;
    }

    public Double getDayIncome() 
    {
        return dayIncome;
    }
    public void setTotalIncome(Double totalIncome) 
    {
        this.totalIncome = totalIncome;
    }

    public Double getTotalIncome() 
    {
        return totalIncome;
    }
    public void setRealHealthState(Long realHealthState) 
    {
        this.realHealthState = realHealthState;
    }

    public Long getRealHealthState() 
    {
        return realHealthState;
    }
    public void setStationCode(String stationCode) 
    {
        this.stationCode = stationCode;
    }

    public String getStationCode() 
    {
        return stationCode;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dayPower", getDayPower())
            .append("monthPower", getMonthPower())
            .append("totalPower", getTotalPower())
            .append("dayIncome", getDayIncome())
            .append("totalIncome", getTotalIncome())
            .append("realHealthState", getRealHealthState())
            .append("stationCode", getStationCode())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
